<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的阅读</title>
<style>
body { font-size:14px; margin:10px; font-family:Arial, Helvetica, sans-serif; }
div, span, h1, h2, h3 { overflow:hidden; margin:0; padding:0; }
a { color:#0000FF; }
a:active { color:#FF6600; }
a:visited { color:#999; }

.site h2 { color:#000; font-size:14px; margin:5px 0 5px 0; }
.site ol { line-height:20px; }
.site li { color:#999; font-size:13px; }

.system_data { font-size:13px; color:#666666; margin:5px 0 0 0; word-spacing:1px; }
</style>

</head>
<body>

<?php foreach ($result as $siteid => $site) : ?>
	<div class="site">
		<h2><?php echo $site['config']['title']?></h2>
		<ol>
			<?php foreach ($site['data'] as $item) : ?>
				<li>
					<a href="<?php echo $item['url']; ?>" target="right"><?php echo $item['title']; ?></a>
					<?php if(isset($site['config']['content'])) : ?>
						[<a href="./?m=reader&a=view&site=<?php echo $siteid; ?>&url=<?php echo base64_encode($item['url']); ?>" target="right">提取</a>]
					<?php endif; ?>
				</li>
			<?php endforeach; ?>
		</ol>
	</div>
<?php endforeach; ?>

<div class="system_data">
	<?php echo number_format((microtime(true) - TIME_START_ALL) * 1000, 1)?>ms~<?php echo date('H:i');?>
</div>

</body>
</html>
